package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.AddComment;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface AddCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AddComment record);

    AddComment selectByPrimaryKey(Long id);

    List<AddComment> selectAll();

    int updateByPrimaryKey(AddComment record);

    List<AddComment> selectAddCommentByCommentId(Long commentId);

    int getCount(Long commentId);

    List<AddComment> commentMeList(QueryObject qo);
}